<html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://java.sun.com/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:t="http://myfaces.apache.org/tomahawk">

<f:view>
<f:loadBundle var="text" basename="#{ygzcList.bundleName}"/>
    <head>
        <title>#{text['ygzcList.title']}</title>
        <meta name="heading" content="#{text['ygzcList.heading']}"/>
        <meta name="menu" content="YgzcMenu"/>
    </head>
<body id="ygzcList">
<h:form id="editYgzc">

<h:commandButton value="#{text['button.add']}" action="add" id="add" immediate="true" styleClass="button"/>
<h:commandButton value="#{text['button.done']}" action="mainMenu" id="cancel" immediate="true" styleClass="button" style="margin-left: 5px"/>

<t:dataTable id="ygzcs" var="ygzc" style="margin-top: 10px"
    value="#{ygzcList.ygzcs}" rows="25" sortColumn="#{ygzcList.sortColumn}"
    sortAscending="#{ygzcList.ascending}" styleClass="scrollerTable table"
    headerClass="standardTable_Header" rowClasses="standardTable_Row1,standardTable_Row2"
    columnClasses="standardTable_Column,standardTable_Column,standardTable_Column,standardTable_Column,standardTable_ColumnCentered">

    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="id" arrow="true">
                <h:outputText value="#{text['ygzc.id']}" />
            </t:commandSortHeader>
        </f:facet>
        <h:commandLink action="#{ygzcForm.edit}" value="#{ygzc.id}">
            <f:param name="sid" value="#{ygzc.id}"/>
            <f:param name="from" value="list"/>
        </h:commandLink>
    </t:column>
     <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="username" arrow="true">
                <h:outputText value="#{text['ygzc.username']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.username}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="cjzc" arrow="true">
                <h:outputText value="#{text['ygzc.cjzc']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.cjzc}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="cjzcbl" arrow="true">
                <h:outputText value="#{text['ygzc.cjzcbl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.cjzcbl}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gjzc" arrow="true">
                <h:outputText value="#{text['ygzc.gjzc']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.gjzc}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="gjzcbl" arrow="true">
                <h:outputText value="#{text['ygzc.gjzcbl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.gjzcbl}" escape="true"/>
    </t:column>
   
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="operation" arrow="true">
                <h:outputText value="#{text['ygzc.operation']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.operation}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="optdate" arrow="true">
                <h:outputText value="#{text['ygzc.optdate']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.optdate}" escape="true"/>
    </t:column>
   
    
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zjzc" arrow="true">
                <h:outputText value="#{text['ygzc.zjzc']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.zjzc}" escape="true"/>
    </t:column>
    <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="zjzcbl" arrow="true">
                <h:outputText value="#{text['ygzc.zjzcbl']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.zjzcbl}" escape="true"/>
    </t:column>
</t:dataTable>

<ui:include src="/common/tableFooter.xhtml">
    <ui:param name="tableName" value="ygzcs"/>
</ui:include>

<script type="text/javascript">
    highlightTableRows("editYgzc:ygzcs");
</script>

</h:form>
</body>
</f:view>
</html><!-- 


<t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="version" arrow="true">
                <h:outputText value="#{text['ygzc.version']}" />
            </t:commandSortHeader>
        </f:facet>
    <h:outputText value="#{ygzc.version}" escape="true"/>
    </t:column>
 <t:column>
        <f:facet name="header">
            <t:commandSortHeader columnName="jbqk" arrow="true">
                <h:outputText value="#{text['ygzc.jbqk']}" />
            </t:commandSortHeader>
        </f:facet>
    </t:column>-->